package cn.com.duiba.millionaire.center.biz.remoteservice;

import cn.com.duiba.millionaire.center.api.dto.UserReLiveCardParamDto;
import cn.com.duiba.millionaire.center.api.remoteservice.RemoteReLiveCardService;
import cn.com.duiba.millionaire.center.biz.service.RenascenceRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * Created by sty on 2/5/18.
 */
@RestController
public class RemoteReLiveCardServiceImpl implements RemoteReLiveCardService {

    @Autowired
    private RenascenceRecordService renascenceRecordService;
    @Override
    public boolean batchUpdateConsumerReLiveCard(Long appId, List<UserReLiveCardParamDto> paramList) {
        return renascenceRecordService.batchUpdateConsumerReLiveCard(appId, paramList);
    }
}
